<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<% String myContext = request.getContextPath(); %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Result.jsp</title>
<link href="./Design.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<br><br><br>
<c:if test="${mid!=null}" >
	<h2>아이디는 ${mid.mid } 입니다.</h2></br><br>

<form action="<%=myContext %>/findPwForm.mem" method="post">
	<input type="hidden" name="mid" value="${mid.mid}">
	<input type="submit" value="비밀번호 찾기">
</form>

</c:if>
<c:if test="${mem!=null}" >
	<h2>아이디는 ${mem.mid } 입니다.</h2>
	<h2>비밀번호는 ${mem.mpw} 입니다.</h2>
</c:if>
<c:if test="${mid==null}}">
	가입되어있지 않습니다.
</c:if>
</center>
</body>
</html>